/*
 Navicat Premium Data Transfer

 Source Server         : 测试
 Source Server Type    : SQL Server
 Source Server Version : 12002000
 Source Host           : localhost:1433
 Source Catalog        : OcelotSettings
 Source Schema         : dbo

 Target Server Type    : SQL Server
 Target Server Version : 12002000
 File Encoding         : 65001

 Date: 07/07/2023 17:37:25
*/


-- ----------------------------
-- Table structure for Dictionary
-- ----------------------------
IF EXISTS (SELECT * FROM sys.all_objects WHERE object_id = OBJECT_ID(N'[dbo].[Dictionary]') AND type IN ('U'))
	DROP TABLE [dbo].[Dictionary]
GO

CREATE TABLE [dbo].[Dictionary] (
  [Id] int  IDENTITY(1,1) NOT NULL,
  [DictionaryName] varchar(50) COLLATE Chinese_PRC_CI_AS  NOT NULL,
  [DictionaryType] varchar(50) COLLATE Chinese_PRC_CI_AS  NOT NULL
)
GO

ALTER TABLE [dbo].[Dictionary] SET (LOCK_ESCALATION = TABLE)
GO

EXEC sp_addextendedproperty
'MS_Description', N'主键Id',
'SCHEMA', N'dbo',
'TABLE', N'Dictionary',
'COLUMN', N'Id'
GO

EXEC sp_addextendedproperty
'MS_Description', N'字典名',
'SCHEMA', N'dbo',
'TABLE', N'Dictionary',
'COLUMN', N'DictionaryName'
GO

EXEC sp_addextendedproperty
'MS_Description', N'字典类型',
'SCHEMA', N'dbo',
'TABLE', N'Dictionary',
'COLUMN', N'DictionaryType'
GO

EXEC sp_addextendedproperty
'MS_Description', N'字典表',
'SCHEMA', N'dbo',
'TABLE', N'Dictionary'
GO


-- ----------------------------
-- Records of Dictionary
-- ----------------------------
SET IDENTITY_INSERT [dbo].[Dictionary] ON
GO

INSERT INTO [dbo].[Dictionary] ([Id], [DictionaryName], [DictionaryType]) VALUES (N'5', N'consul配置关键字', N'ConsulSettingKey')
GO

INSERT INTO [dbo].[Dictionary] ([Id], [DictionaryName], [DictionaryType]) VALUES (N'6', N'consul DC 库', N'consuldc')
GO

SET IDENTITY_INSERT [dbo].[Dictionary] OFF
GO


-- ----------------------------
-- Auto increment value for Dictionary
-- ----------------------------
DBCC CHECKIDENT ('[dbo].[Dictionary]', RESEED, 6)
GO


-- ----------------------------
-- Primary Key structure for table Dictionary
-- ----------------------------
ALTER TABLE [dbo].[Dictionary] ADD CONSTRAINT [PK__Dictiona__3214EC0785134EC7] PRIMARY KEY CLUSTERED ([Id])
WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON)  
ON [PRIMARY]
GO

